/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
namespace DGZImp.BizEntity.DomainModels;

[Table("SellOrderList")]
[Entity(TableCnName = "订单明细", DBServer = "ServiceDbContext")]
public class SellOrderList: ServiceEntity
{
    /// <summary>
   ///
   /// </summary>
   [Key]
   [Display(Name ="OrderList_Id")]
   [MaxLength(36)]
   [Column(TypeName="uniqueidentifier")]
   [Required(AllowEmptyStrings=false)]
   public Guid OrderList_Id { get; set; }

   /// <summary>
   ///订单Id
   /// </summary>
   [Display(Name ="订单Id")]
   [MaxLength(36)]
   [Column(TypeName= "uniqueidentifier")]
   [Required(AllowEmptyStrings=false)]
   public Guid Order_Id { get; set; }

   /// <summary>
   ///商品名称
   /// </summary>
   [Display(Name ="商品名称")]
   [MaxLength(200)]
   [Column(TypeName="nvarchar(200)")]
   [Editable(true)]
   [Required(AllowEmptyStrings=false)]
   public string ProductName { get; set; }

   /// <summary>
   ///批次
   /// </summary>
   [Display(Name ="批次")]
   [MaxLength(255)]
   [Column(TypeName="nvarchar(255)")]
   [Editable(true)]
   [Required(AllowEmptyStrings=false)]
   public string MO { get; set; }

   /// <summary>
   ///数量
   /// </summary>
   [Display(Name ="数量")]
   [Column(TypeName="int")]
   [Editable(true)]
   [Required(AllowEmptyStrings=false)]
   public int Qty { get; set; }

   /// <summary>
   ///重量
   /// </summary>
   [Display(Name ="重量")]
   [DisplayFormat(DataFormatString="11,2")]
   [Column(TypeName="decimal")]
   [Editable(true)]
   public decimal? Weight { get; set; }

    /// <summary>
    ///逻辑删除标志
    /// </summary>
    [Display(Name = "逻辑删除标志")]
    [Column(TypeName = "int")]
    public int? IsValid { get; set; }

    /// <summary>
    ///备注
    /// </summary>
    [Display(Name = "备注")]
    [MaxLength(500)]
    [Column(TypeName = "nvarchar(500)")]
    [Editable(true)]
    public string Remarks { get; set; }

    /// <summary>
    ///
    /// </summary>
    [Display(Name ="CreateID")]
   [Column(TypeName="int")]
   public int? CreateID { get; set; }

   /// <summary>
   ///创建人
   /// </summary>
   [Display(Name ="创建人")]
   [MaxLength(255)]
   [Column(TypeName="nvarchar(255)")]
   public string Creator { get; set; }

   /// <summary>
   ///创建时间
   /// </summary>
   [Display(Name ="创建时间")]
   [Column(TypeName="datetime")]
   public DateTime? CreateTime { get; set; }

   /// <summary>
   ///
   /// </summary>
   [Display(Name ="ModifyID")]
   [Column(TypeName="int")]
   public int? ModifyID { get; set; }

   /// <summary>
   ///修改人
   /// </summary>
   [Display(Name ="修改人")]
   [MaxLength(255)]
   [Column(TypeName="nvarchar(255)")]
   public string Modifier { get; set; }

   /// <summary>
   ///修改时间
   /// </summary>
   [Display(Name ="修改时间")]
   [Column(TypeName="datetime")]
   public DateTime? ModifyTime { get; set; }

   
}
